#ifndef RELIEVEPAGE_H
#define RELIEVEPAGE_H

#include <QMessageBox>
#include <QWidget>
#include "database.h"
namespace Ui {
class relievePage;
}

class relievePage : public QWidget
{
    Q_OBJECT

public:
    explicit relievePage(QWidget *parent = nullptr);
    ~relievePage();
    Database DB;  //数据库
    QMessageBox msgBox; //账号错误警告框
    void closeEvent ( QCloseEvent * e );

public slots:
    void changPage(QString DotName,QString siteName ,int errorType);//获取警报内容

private slots:
    void on_checking_clicked();
    void on_relieve_clicked();


signals:
    void checkingSuccess();  //验证成功
    void log(QString record);//事件类型

private:
    Ui::relievePage *ui;

};

#endif // RELIEVEPAGE_H
